import { createApp } from 'vue'
import './style.css'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/es/locale/lang/zh-cn.mjs'
import router from './router/router'
import {createPinia} from 'pinia'
import './style/font-muerzhi.css'
import './style/font-haolong.css'
import './style/font-huawenxingkai.css'
import{createPersistedState} from 'pinia-persistedstate-plugin' //npm install pinia-persistedstate-plugin
import App from './App.vue'
// import App from './components/home/isphone.vue'

const app=createApp(App)
const pinia = createPinia();
const persist = createPersistedState();

app.use(ElementPlus,{locale:zhCn})
app.use(router)
pinia.use(persist)
app.use(pinia);

app.mount('#app')